<template>
  <div>
    <el-container>
    <!-- header部分 -->
    <el-header>
     <top-menu></top-menu>
    </el-header>
    <el-container>
       <!-- aside部分 -->
      <main-menu></main-menu>
      <el-main>
         <!-- main部分 -->
       <router-view></router-view>
      </el-main>
    </el-container>
  </el-container>
  </div>
</template>

<script>
import MainMenu from './MainMenu.vue';
import TopMenu from './TopMenu.vue';
export default {
  components: { TopMenu, MainMenu },
  data() {
    return {};
    MainMenu
  },
  methods: {},
};
</script>
<style>
.el-main {
  background-color: #f5f7f9;
  line-height: 550px;
}

.el-header,
.el-footer {
  background-color: white;
  box-sizing: border-box;
  border-bottom: 1px solid #f5f1f1;
}

.el-container {
  height: 100%;
}
</style>
